<#include "../head.ftl">
<div class="page_title">产品查询</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="document.forms[0].submit();">查询</button>  
</div>
<form id="searchForm" action="${url}" method="get">
	<table class="query_form_table">
		<tr>
			<th>产品</th>
			<td><input type="text" name="product.name" value=""/></td>
			<th>仓库</th>
			<td><input type="text" name="address" value=""/></td>
			<th>&nbsp;</th>
			<td>&nbsp;</td>
		</tr>
	</table>
	<input type="hidden" id="number" name="number" value=""/>
	<br/>
</form>
<table class="data_list_table">
	<tr>
		<th>序号</th>
		<th>产品</th>
		<th>仓库</th>
		<th>货位</th>
		<th>件数</th>
		<th>备注</th>
	</tr>
	<#list page.content as storage>
	<tr>
		<td class="list_data_number">${storage.id}</td>
		<td class="list_data_ltext">${storage.product.name}-${storage.product.version}-${storage.product.grade} ${storage.product.batch}</td>
		<td class="list_data_ltext">${storage.address}</td>
		<td class="list_data_text">${storage.allocation}</td>
		<td class="list_data_number">${storage.amount}</td>
		<td class="list_data_ltext">${storage.remarks!''}&nbsp;</td>		
	</tr>
	</#list>
	<tr>
		<th colspan="100" class="pager">
<#include "../foot.ftl">